﻿using System.Runtime.Serialization;

namespace Prompts.Service.PromptService
{
    [DataContract]
    public class DefaultValue
    {
        private string _value;
        private bool _isAllMember;
        private string _label;

        public DefaultValue() {}

        public DefaultValue(string value, string label, bool isAllMember)
        {
            Label = label;
            IsAllMember = isAllMember;
            Value = value;
        }

        [DataMember]
        public string Label
        {
            get { return _label; }
            set { _label = value; }
        }

        [DataMember]
        public bool IsAllMember
        {
            get { return _isAllMember; }
            set { _isAllMember = value; }
        }

        [DataMember]
        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }
    }
}